package com.fll.fangyigateway.loadblance;

import org.springframework.cloud.client.ServiceInstance;

public interface LoadBalance {

    /**
     * 使用负载均衡算法 实现轮询机制
     *
     * @param serviceId
     * @return
     */
    ServiceInstance getInstances(String serviceId);

}